<?php
$arr=["name"=>"张三","age"=>50];
echo json_encode($arr);
?>